home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / RTF / xtextview_c.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  982b  |  59 lines

  1. /* $Header: /usr/people/pcd/Src/RTF/RCS/xtextview_c.h,v 1.1 92/11/23 12:58:53 pcd Exp Locker: pcd $
  2.  */
  3.  
  4. #ifndef __xtextview_c_h
  5. #define __xtextview_c_h
  6.  
  7. #include <X11/Xlib.h>
  8.  
  9. void*
  10. XTextView_create(Display*, void*);
  11.  
  12. void
  13. XTextView_destroy(void*);
  14.  
  15. int
  16. XTextView_string(void*, const char*, int);
  17.  
  18. void
  19. XTextView_resize(void*, int x, int y, int w, int h);
  20.  
  21. void
  22. XTextView_drawable(void*, Drawable, int depth);
  23.  
  24. void
  25. XTextView_render(void*, int x, int y, int w, int h);
  26.  
  27. int
  28. XTextView_region(void*, long first, long last, int x[4], int y[4]);
  29.  
  30. int
  31. XTextView_locate(void*, long pos, int* top, int* bot);
  32.  
  33. int
  34. XTextView_height(void*);
  35.  
  36. int
  37. XTextView_width(void*);
  38.  
  39. long
  40. XTextView_position(void*, int x, int y);
  41.  
  42. char*
  43. XTextView_plain_text(const char*, long);
  44.  
  45. XFontStruct*
  46. Widget_font(void* widget, const char*);
  47.  
  48. unsigned long /* Pixel */
  49. Widget_color(void* widget, int r, int g, int b);
  50.  
  51. GC
  52. Widget_get_gc(void*, unsigned long, XGCValues*);
  53.  
  54. void
  55. Widget_free_gc(void*, GC);
  56.  
  57. #endif
  58.  
  59.